import type { Any } from "$lib/api/proto/google/protobuf/any";

export function getNodeType(content: Any): string {
    const parts = content.typeUrl.split(".");
    return parts[parts.length - 1] + "Node";
}